USE [QLDL]
GO

/****** Object:  Table [dbo].[CONGNO]    Script Date: 01/03/2011 15:16:06 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[CONGNO](
	[Thang] [int] NULL,
	[Nam] [int] NULL,
	[MaDaiLy] [nvarchar](10) NULL,
	[NoDau] [money] NULL,
	[PhatSinh] [money] NULL,
	[TienThu] [money] NULL,
	[NoCuoi] [money] NULL
) ON [PRIMARY]

GO

ALTER TABLE [dbo].[CONGNO]  WITH CHECK ADD  CONSTRAINT [FK_CONGNO_MaDaiLy] FOREIGN KEY([MaDaiLy])
REFERENCES [dbo].[DAILY] ([MaDaiLy])
ON DELETE CASCADE
GO

ALTER TABLE [dbo].[CONGNO] CHECK CONSTRAINT [FK_CONGNO_MaDaiLy]
GO


